package com.hsogoo.study.autoconfiguration.config;

import com.hsogoo.study.autoconfiguration.bean.Work;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @Author huangsaigang
 * Created @2019-09-29.
 */
public class HelloImportSelector implements ImportSelector {

    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        return new String[]{Work.class.getName()};
    }
}
